<?php

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

namespace App\Traits;

trait NotificationQueue
{
    public function dispatch()
    {
        return dispatch($this->onQueue($GLOBALS['cfg']['osu']['notification']['queue_name']));
    }
}
